package com.dondedesigns.eh.controller.index;

import com.dondedesigns.eh.persistence.User;
import com.opensymphony.xwork2.ActionSupport;

public class Index extends ActionSupport implements UserAware{
	
	private User user;

	@Override
	public String execute() throws Exception {
		if (user == null) {
			return INPUT;
		}
		return SUCCESS;
	}

	@Override
	public void setUser(User user) {
		this.user = user;
	}

}
